<?php
/**
 * Created by PhpStorm.
 * User: hang
 * Date: 2021/12/12
 * Time: 23:03
 */
session_start();
$userKey = $_COOKIE['key'];

echo $_SESSION[$userKey]['RealName'];